package com.hzw.saas.web.shell.controller.param;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zzl
 * @since 06/04/2021
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("SFTP重命名文件/目录参数")
public class RenameFileParam extends HpcAccountParam {

    @ApiModelProperty(value = "文件/目录路径", required = true)
    @NotBlank(message = "文件/目录路径不可为空")
    private String srcPath;

    @ApiModelProperty(value = "文件/目录新名称", required = true)
    @NotBlank(message = "文件/目录新名称不可为空")
    private String newName;

}
